package com.example.myapplication;

import androidx.appcompat.app.AppCompatActivity;

import android.content.Intent;
import android.os.Bundle;
import android.view.Window;

public class IndexActivity extends AppCompatActivity implements CallBacks {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_index);
    }
    @Override
    public void onItemSelected(int positon){
        Intent intent;
        switch (positon){
            case 0:
                intent = new Intent(this,ItemActivity.class);
                startActivity(intent);
        }
    }
}
